|
|
|
|
|
|
|
Note The Web browser that comes with Visual Basic as a template is a simpler version of the full Internet Explorer application (fewer toolbar buttons and no menu). The embedded browser supplies all the common features needed, such as a page previous, next page, and home page. If you click the Search button, Internet Explorer uses Microsoft's search Web site to initiate a search request. |
|
|
|
|
|
|
|
|
|
Visual Basic also comes with several other controls you can add to a project that interact with and control the Internet Explorer Web browser. These controls begin with the IE prefix in the Components dialog box and are listed in Table 14.2. |
|
|
|
|
|
|
|
|
Note These other IE-related controls do require Internet Explorer in order to be used. They do not work with Netscape. |
|
|
|
|
|
| TABLE 14.2. OTHER INTERNET COMPONENTS. | | Name | Description | | IE Animated Button | Animated display showing IE's connection | | IE Popup Menu | A menu control that appears on the Web page | | IE Popup Window | A tabbed window control that opens a new connection window | | IE Preloader | Preloads a site before the visible Internet access begins | | IE Super Label | A Web page label | | IE Timer | Provides timing operations for Internet services |
|
|
|
|
|
|
You now have a working Internet browser in your application. If you decide you want to enhance the browser with more features, you can make use of more of the elements supported by the control. |
|
|
|
|
|
|
|
|
Transferring Files over the Web |
|
|
|
|
|
|
|
|
You use the File Transfer control to implement two of the most widely used Internet protocols: the Hypertext Transfer Protocol (HTTP) and the File Transfer Protocol (FTP). With the Internet File Transfer control, you can connect to any Web site that uses either protocol and retrieve files by using the control's OpenURL or Execute method. Although |
|
|
|
|
|